package com.shuziren.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;

import com.fasterxml.jackson.annotation.JsonFormat;
import jakarta.annotation.Nullable;
import jakarta.validation.constraints.Min;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Size;
import lombok.Data;

import java.util.Date;


@Data
@TableName("interview_recover")
public class InterviewRecover {
    @Min(value = 0, message = "职位id 必须至少为0")
    @TableField("candidate_id")
    private Integer candidateId;

    @Size(max = 255, message = "长度不能超过255")
    @TableField("candidate_recover")
    private String candidateRecover;

    @Min(value = 0, message = "题目id 必须至少为0")
    @TableField("question_id")
    private Integer questionId;

    @TableField("created_at")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createdAt;


}

